<div class="sub-page-wrapper">
    <div class="layout-sub-page">
                <app-table
                    #mainTable
                    [topVisible]='true'
                    [tableKey]='"jobId"'
                    [tableColumnArray]='columnArray'
                    [dataService]='mainService'
                    [optionModelList]='optionModelList'
                    [otherOptionModelList]='otherOptionModelList'
                    [tableCaseMap]='globalCaseMap'
                    (optionEvent)='optionEvent($event)'
                    [Search]='search'
                    [optionWidth]='"200px"'
                    [(searchObj)]='searchObj'
                >
                    <ng-template #search>
                        <nz-space [nzSize]='8'>
                            <input
                                *nzSpaceItem
                                [style]='{width: "180px"}'
                                nz-input
                                placeholder="任务名称"
                                [(ngModel)]='searchObj.jobName'
                                (keyup)='keyEnter($event)'
                            />
                            <app-dict-select  *nzSpaceItem [dictKey]='"sys_job_group"' [dictPlaceholder]='"任务组名"' [(selectKey)]='searchObj.jobGroup'></app-dict-select>
                            <app-dict-select  *nzSpaceItem [dictKey]='"sys_job_status"' [dictPlaceholder]='"任务状态"' [(selectKey)]='searchObj.status'></app-dict-select>
                            <button
                                *nzSpaceItem
                                nz-button
                                nz-tooltip
                                [nzTooltipTitle]="'搜索'"
                                [nzTooltipPlacement]="'top'"
                                (click)='searchList()'
                            >
                                <i nz-icon nzType="search"></i>
                            </button>
                            <button
                                *nzSpaceItem
                                nz-button
                                nz-tooltip
                                [nzTooltipTitle]="'重置'"
                                [nzTooltipPlacement]="'top'"
                                (click)='resetSearchObject()'
                            >
                                <i nz-icon>重置</i>
                            </button>
                        </nz-space>
                    </ng-template>
                </app-table>
    </div>
</div>


<app-job-option #optionComponent></app-job-option>
<app-run-option #runOptionComponent></app-run-option>
<app-job-detail-option #jobDetailComponent></app-job-detail-option>
